package com.yzt.dynamicmodule.dialog;

import android.view.View;

import com.yzt.dynamicmodule.R;
import com.yzt.zhuju.dialog.BottomBaseDialog;
import com.yzt.zhuju.widget.tuiview.TUITextView;

/**
 * 作者：bobwang
 * 创建时间：2023-10-12 21:27:43
 * 描述：游戏中主持人更多操作
 */
@Deprecated
public class GameControllerDialog extends BottomBaseDialog {

    @Override
    public int getLayoutRes() {
        return R.layout.dialog_game_controller;
    }

    @Override
    public void bindView(View v) {
        TUITextView tv_choose = findViewById(R.id.tv_choose);
        TUITextView tv_trans = findViewById(R.id.tv_trans);
        TUITextView tv_report = findViewById(R.id.tv_report);

//        tv_video.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                if (listener != null) {
//                    listener.onSelectVideo();
//                }
//                dismissAllowingStateLoss();
//            }
//        });
    }

    private OnSelectOnClickListener listener;

    public void setListener(OnSelectOnClickListener listener) {
        this.listener = listener;
    }

    public interface OnSelectOnClickListener {

        void onSelectVideo();

        void onSelectPic();
    }
}
